﻿<%@ Page Title="" Language="C#" MasterPageFile="~/AppManagment/iFrameMasterPage.master" AutoEventWireup="true" CodeFile="iFarmeAdmin_EditSiteMap.aspx.cs" Inherits="iFarmeAdmin_EditSiteMap" %>

<asp:Content ID="c" ContentPlaceHolderID="cphHead" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cphBody" Runat="Server">
    <asp:ScriptManager ID=ScriptManager1 runat="server">
    </asp:ScriptManager>
    <div class="TblCaption" 
                onclick="CaptionToggle('body_CommonInfo','Caption_CommonInfo');" 
                style="width:100%; height :25px">
                <table style="width:100%;">
                    <tr>
                        <td ID="Caption_CommonInfo" class="ArrowDown">
                            </td>
                        <td>
                            Настройка страницы &nbsp;                            
                        </td>
                        <td>
                            </td>
                    </tr>
                </table>
            </div>
    <div ID="body_CommonInfo" style="width:100%">
                <table cellpadding="0" cellspacing="0" style="width:100%;">
                    <tr ID="trCommonInfo">
                        <td width="25%">
                            <table cellpadding="2" cellspacing="0" style="width:100%;">
                          
                                <tr>
                                    <td width="25%">
                                        &nbsp;</td>
                                    <td class="grd_td_item_caption" style="width:25%">
                                        Страница:
                                        </td>
                                    <td class="grd_td_item">
                                        <asp:DropDownList ID="cmbKeys" runat="server" CssClass="TextBox">
                                        </asp:DropDownList>
                                    </td>
                                </tr>                                
                          
                                                                
                                <tr>
                                    <td width="25%">
                                        &nbsp;</td>
                                    <td class="grd_td_item_caption" style="width:25%">
                                        Переопределена:</td>
                                    <td class="grd_td_item">
                                        <asp:TextBox ID="txtRedirect" runat="server" CssClass="TextBox" 
                                            Width="99%"></asp:TextBox>
                                    </td>
                                </tr>                                
                                <tr>
                                    <td width="25%">
                                        &nbsp;</td>
                                    <td class="grd_td_item_caption" style="width:25%">
                                        Тип:</td>
                                    <td class="grd_td_item">
                                        <asp:RadioButtonList ID="rbPageType" runat="server">
                                        </asp:RadioButtonList>
                                    </td>
                                </tr>
                                <tr>
                                    <td width="25%">
                                        &nbsp;</td>
                                    <td class="grd_td_item_caption" style="width:25%">
                                        Роли:</td>
                                    <td class="grd_td_item">
                                        <asp:CheckBoxList ID="chRoleList" runat="server">
                                        </asp:CheckBoxList>
                                    </td>
                                </tr>                                
                                <tr>
                                    <td style="vertical-align :top " width="25%">
                                    </td>
                                    <td class="grd_td_item_caption" style="width:25%;vertical-align :top">
                                        Описание:</td>
                                    <td class="grd_td_item">
                                        <asp:TextBox ID="txtComment" Text=<%# SiteMapItem.Describe %>  runat="server" CssClass="TextBox" Height="47px" 
                                              TextMode="MultiLine" Width="99%"></asp:TextBox>
                                    </td>
                                </tr>
                                <tr>
                                    <td width="25%">
                                        &nbsp;</td>
                                    <td style="width:25%">
                                        &nbsp;</td>
                                    <td style="text-align :right ">
                                        <asp:UpdatePanel ID="UpdatePanel3" runat="server">
                                            <ContentTemplate>
                                                <asp:Button ID="btnSave" runat="server" CssClass="btn_wizard" 
                                                     Text="Сохранить" onclick="btnSave_Click" />
                                            </ContentTemplate>
                                        </asp:UpdatePanel>
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                </table>
            </div>
</asp:Content>

